package com.cos.emp.util;

/**
 * @author: COS
 * @time: 2021/11/18 15:37
 * @description:
 */
public class StringUtils {
    public static boolean isNotEmpty(String... args) {
        for (String arg : args) {
            if (arg == null || arg.length() == 0) {
                return false;
            }
        }
        return true;
    }

    public static boolean isNotEmpty(String args) {
        return !(args == null || args.length() == 0);
    }

}
